/*
 */

package com.railway.msg.service;

import java.util.List;

import cn.org.rapid_framework.page.Page;

import com.railway.msg.model.MsgRecive;
import com.railway.msg.vo.query.MsgReciveQuery;

/**
 * @author  jiangcheng
 * @version 1.0
 * @since 1.0
 */

public interface IMsgReciveManager{

	
	public Page findPage(MsgReciveQuery query);

	public MsgRecive getById(java.lang.String id);
	
	public List<MsgRecive> findAll();
	
	/** 根据id检查是否插入或是更新数据 */
	public void saveOrUpdate(MsgRecive entity);
	
	/** 插入数据 */
	public void save(MsgRecive entity);
	
	public void removeById(java.lang.String id);
	
	public void update(MsgRecive entity);
	
	public boolean isUnique(MsgRecive entity, String uniquePropertyNames);

	public long getMsgCountByUserID(String userid);

	public Page findPageUnreadUsers(MsgReciveQuery query);
}
